import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

const routes: Routes = [
  { path: 'modal', loadChildren: () => import('./modal/modal.module').then(m => m.ModalModule) },
  { path: 'result', loadChildren: () => import('./result/result.module').then(m => m.ResultModule) },
  { path: 'feature', loadChildren: () => import('./feature/feature.module').then(m => m.FeatureModule) }
];
@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DemoRoutingModule {}
